createFromVideo

abstract suspend fun createFromVideo(videoUri: Uri): DesignBlock

Loads the given video and creates a scene with a single page showing the video. Fetching the video may take an arbitrary amount of time, so the scene isn't immediately available.

Return

a handle to the created scene.

Parameters

videoUri

the resource of the video file.